export const CACHE_PATH_AND_DISK_STORE = 'CACHE_PATH_AND_DISK_STORE'
// export const providerOptions: LabelValue[] = [
//   {
//     label: 'DNS 独立版',
//     value: 1
//   },
//   {
//     label: 'Cloudflare',
//     value: 2
//   }
// ]

export enum NODE_STATUS {
  NORMAL = 1,
  ABNORMAL,
  STOP,
  OFFLINE,
  INIT
}

export const nodeStatusOptions = [
  {
    label: '初始化',
    value: NODE_STATUS.INIT
  },
  {
    label: '运行',
    value: NODE_STATUS.NORMAL
  },
  {
    label: '异常',
    value: NODE_STATUS.ABNORMAL
  },
  {
    label: '停止',
    value: NODE_STATUS.STOP
  },
  {
    label: '离线',
    value: NODE_STATUS.OFFLINE
  }
]

export enum NODE_OPERATIONS {
  START = 'start',
  RELOAD = 'reload',
  STOP = 'stop',
  SYNC = 'sync',
  RESTART = 'restart',
  UNINSTALL = 'uninstall',
  PURGE = 'purge'
}
export const diskOptions: LabelValue[] = [
  { label: 'MB', value: 1, max: 966367641600 },
  { label: 'GB', value: 2, max: 943718400 },
  { label: 'TB', value: 3, max: 921600 },
  { label: 'PB', value: 4, max: 900 }
]

export const wafStrategyOptions = [
  { label: '阻止', value: 1 },
  // { label: '跳过', value: 2 },
  { label: '观察', value: 3 }
]

export const wafCustomOptions = [
  { label: '阻止', value: 1 },
  // { label: '跳过', value: 2 },
  { label: '观察', value: 3 },
  { label: 'JS 质询', value: 4 },
  { label: '交互式质询', value: 5 }
]
